#!/bin/bash
# -----------------------------------------------------------------
# FileName: 1-MakePlugIn.sh
# Date: 2021-09-15
# Author: jiftle
# Description: 
# -----------------------------------------------------------------

PluginName="bcb_cc_observ"

echo "---> 编译插件"
export CGO_ENABLED=0
go build -tags netgo -o ${PluginName}.plugin
chmod +x ${PluginName}.plugin

echo "-----> 编译后文件"
ls -lh |grep plugin |grep $PluginName

